package com.guigu.pd.aggregation.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.guigu.common.utils.PageUtils;
import com.guigu.common.utils.Query;

import com.guigu.pd.aggregation.dao.TransportOrderDao;
import com.guigu.pd.aggregation.entity.TransportOrderEntity;
import com.guigu.pd.aggregation.service.TransportOrderService;


@Service("transportOrderService")
public class TransportOrderServiceImpl extends ServiceImpl<TransportOrderDao, TransportOrderEntity> implements TransportOrderService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TransportOrderEntity> page = this.page(
                new Query<TransportOrderEntity>().getPage(params),
                new QueryWrapper<TransportOrderEntity>()
        );

        return new PageUtils(page);
    }

}